import 'package:flutter/material.dart';
import 'package:fluttertenroadui/widgets/empty.dart';

import '../r.dart';

class ImageHintsEmptyPage extends StatelessWidget {
  static const String routeName = '/image-hints-empty';
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    final bool isDarkMode = Theme.of(context).brightness == Brightness.dark;
    final Image img = isDarkMode
        ? Image.asset(
      R.assetsImagesNoDataDark,
      scale: 1.7,
    )
        : Image.asset(R.assetsImagesNodata);

    return Scaffold(
      appBar: AppBar(
        title: Text('Image & Hints'),
      ),
      body: TLEmptyContainer(
        image: img,
        title: 'No Data',
      ),
    );
  }

}